package org.linlinjava.litemall.db.vo.app;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author huangfei
 * @create 2021-12-30 10:54
 */
public class DividedGoods {

    /**
     * 商品编号
     */
    private Integer id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品图片URL地址（用户最终选择的SKU商品的图片，如果对应SKU商品没有配置图片，则返回该商品的主图）
     */
    private String image;

    /**
     * 商品类型(lease:租赁商品,sale:售卖商品,service:在线咨询服务)
     */
    private String type;

    /**
     * 商品价格（用户最终选择的SKU商品价格，注意：售卖商品、在线咨询服务返回的是售价，租赁商品返回的商品是预付金）
     */
    private BigDecimal price;

    /**
     * 商品购买数量（用户最终选择的购买数量）
     */
    private Integer buycount;

    /**
     * 商品SKU规格名称（用户最终选择的SKU规格的名称，如果没有规格属性则不返回该字段）。格式：号分隔规格属性，；号分隔多个规格属性，（例如：颜色：红色；尺寸：M号）
     */
    private String skuName;


    private List<DividedService> serviceList;

    private List<DiviedCustom> customList;

    private GoodsVipSalesDto selectedSkuVipSale;

    public GoodsVipSalesDto getSelectedSkuVipSale() {
        return selectedSkuVipSale;
    }

    public void setSelectedSkuVipSale(GoodsVipSalesDto selectedSkuVipSale) {
        this.selectedSkuVipSale = selectedSkuVipSale;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getBuycount() {
        return buycount;
    }

    public void setBuycount(Integer buycount) {
        this.buycount = buycount;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public List<DividedService> getServiceList() {
        return serviceList;
    }

    public void setServiceList(List<DividedService> serviceList) {
        this.serviceList = serviceList;
    }

    public List<DiviedCustom> getCustomList() {
        return customList;
    }

    public void setCustomList(List<DiviedCustom> customList) {
        this.customList = customList;
    }
}
